package com.example.manager.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author fwy
 * @since 2024-07-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Employeestatus implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String name;

    private String status;

    @TableField("workLocation")
    private String workLocation;

    private String department;

    private String position;

    @TableField("jobLevel")
    private Integer jobLevel;

    @TableField("changeReason")
    private String changeReason;


    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField("joiningDate")
    private Date joiningDate;


    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField("confirmationDate")
    private Date confirmationDate;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField("resignationDate")
    private Date resignationDate;


}
